package com.yst.webplugin.api;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * document of method
 */
@Data
@Accessors(chain = true)
public class ApiMethod implements Serializable {
    /**
     * name of method
     */
    private String methodName;
    /**
     * multiple path for request
     */
    private Object path;
    /**
     * description for method
     */
    private String description;

    /**
     * supports version since
     */
    private String supportsVersion;
    /**
     * method of request
     */
    private String requestMethod;
    /**
     * type of the post data
     */
    private String postDataType;
    /**
     * parameters
     */
    private Object parameters;
    /**
     * type of result
     */
    private String resultType;
    /**
     * field list to be return
     */
    private Object resultFields;
    /**
     * indicator of generics
     */
    private List<String> resultGenerics;

}
